<?php

class Form_Login extends Sb_Form
{

    public function init( )
    {
    	$this->addElement('text', 'usr_Email', array(
    		'label'      	=> 'Email',
    		'required'   	=> true,
    		'filters'    	=> array( 'StringTrim','StripTags'),
    		'validators' => array( 'EmailAddress' )
    	));
    	$this->addElement('password', 'usr_Pwd', array(
    		'label'      	=> 'Password',
    		'required'   	=> true,
    		'filters'    	=> array( 'StringTrim','StripTags'),
    		'validators' => array(array(
    			'validator' => 'StringLength',
    			'options' => array(
    				3,
    				20
    			)
    		))
    	));
    	parent::init( );
    }


}

